Optimal. Leaf size=94 \[ \frac{a B \cos (e+f x) (c-c \sin (e+f x))^{9/2}}{5 c f \sqrt{a \sin (e+f x)+a}}-\frac{a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 f \sqrt{a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.339329, antiderivative size = 94, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.05, Rules used = {2971, 2738} \[ \frac{a B \cos (e+f x) (c-c \sin (e+f x))^{9/2}}{5 c f \sqrt{a \sin (e+f x)+a}}-\frac{a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 f \sqrt{a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2971
Rule 2738
Rubi steps
\begin{align*} \int \sqrt{a+a \sin (e+f x)} (A+B \sin (e+f x)) (c-c \sin (e+f x))^{7/2} \, dx &=(A+B) \int \sqrt{a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2} \, dx-\frac{B \int \sqrt{a+a \sin (e+f x)} (c-c \sin (e+f x))^{9/2} \, dx}{c}\\ &=-\frac{a (A+B) \cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 f \sqrt{a+a \sin (e+f x)}}+\frac{a B \cos (e+f x) (c-c \sin (e+f x))^{9/2}}{5 c f \sqrt{a+a \sin (e+f x)}}\\ \end{align*}
Mathematica [A] time = 0.995429, size = 118, normalized size = 1.26 \[ -\frac{c^3 \sec (e+f x) \sqrt{a (\sin (e+f x)+1)} \sqrt{c-c \sin (e+f x)} (4 (23 B-60 A) \sin (e+f x)+4 \cos (2 (e+f x)) (4 (5 A-6 B) \sin (e+f x)-35 A+25 B)+\cos (4 (e+f x)) (5 A+4 B \sin (e+f x)-15 B))}{160 f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.398, size = 174, normalized size = 1.9 \begin{align*}{\frac{ \left ( -4\,B \left ( \cos \left ( fx+e \right ) \right ) ^{4}+5\,A \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -15\,B \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -20\,A \left ( \cos \left ( fx+e \right ) \right ) ^{2}+28\,B \left ( \cos \left ( fx+e \right ) \right ) ^{2}-35\,A\sin \left ( fx+e \right ) +25\,B\sin \left ( fx+e \right ) +40\,A-24\,B \right ) \sin \left ( fx+e \right ) }{20\,f \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}-4\,\sin \left ( fx+e \right ) +4 \right ) \cos \left ( fx+e \right ) } \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{7}{2}}}\sqrt{a \left ( 1+\sin \left ( fx+e \right ) \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (B \sin \left (f x + e\right ) + A\right )} \sqrt{a \sin \left (f x + e\right ) + a}{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{7}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.81031, size = 342, normalized size = 3.64 \begin{align*} -\frac{{\left (5 \,{\left (A - 3 \, B\right )} c^{3} \cos \left (f x + e\right )^{4} - 40 \,{\left (A - B\right )} c^{3} \cos \left (f x + e\right )^{2} + 5 \,{\left (7 \, A - 5 \, B\right )} c^{3} + 4 \,{\left (B c^{3} \cos \left (f x + e\right )^{4} +{\left (5 \, A - 7 \, B\right )} c^{3} \cos \left (f x + e\right )^{2} - 2 \,{\left (5 \, A - 3 \, B\right )} c^{3}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{20 \, f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]